const game = [
  {
    path: '/home/:id', // 赛事主页
    redirect: '/home/:id/info'
  },
  {
    path: '/home/:id/info', // 赛事主页
    component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/index'),
    hidden: true,
    children: [
      {
        path: '', // 参赛数据
        name: 'GameInfo',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/info'),
        hidden: true
      },
      {
        path: 'schedule', // 日程安排
        name: 'Schedule',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/schedule'),
        hidden: true
      },
      {
        path: 'gameData', // 参赛数据
        name: 'GameData',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/gameData'),
        hidden: true
      },
      {
        path: 'brackets', // 场次对阵
        name: 'Brackets',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/brackets'),
        hidden: true
      },
      {
        path: 'athlete', // 人员榜
        name: 'Athlete',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/athlete'),
        hidden: true
      },
      {
        path: 'popularity', // 人气榜C端
        name: 'Popularity',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/popularity'),
        hidden: true
      },
      {
        path: 'medal', // 奖牌榜
        name: 'Medal',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/game/medal'),
        hidden: true
      }
    ]
  }
];

export default game;
